package creational.abstractfactory;

public class Test {

    public static void main(String[] args) {
        IntelPcFactory pIntelPcFactory = new IntelPcFactory();
        Pc pIntelPc1 = pIntelPcFactory.createComputer(1, 1, 1);
        Pc pIntelPc2 = pIntelPcFactory.createComputer(2, 2, 2);
        Pc pIntelPc3 = pIntelPcFactory.createComputer(3, 3, 3);

        AmdPcFactory pAmdPcFactory = new AmdPcFactory();
        Pc pAmdPc1 = pAmdPcFactory.createComputer(1, 1, 1);
        Pc pAmdPc2 = pAmdPcFactory.createComputer(2, 2, 2);
        Pc pAmdPc3 = pAmdPcFactory.createComputer(3, 3, 3);

        pIntelPc1.run();
        pIntelPc2.run();
        pIntelPc3.run();

        pAmdPc1.run();
        pAmdPc2.run();
        pAmdPc3.run();
    }

}
